﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace VisionCloud.Core.Model.Ms
{
    [Table("MsHouseMapDetails")]
    public partial class MsHouseMapDetails : BaseEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        [Column(TypeName = "uuid")]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid HouseMapDetailsGuid { get; set; }

        /// <summary>
        /// 户型图ID
        /// </summary>
        [Required]
        [Column(TypeName = "uuid")]
        public Guid HouseMapId { get; set; }

        /// <summary>
        /// 项目ID
        /// </summary>
        [Required]
        [Column(TypeName = "uuid")]
        public Guid ProjectId { get; set; }

        /// <summary>
        /// 栋名称
        /// </summary>
        [Column(TypeName = "varchar(500)")]
        public string BuildingName { get; set; }

        /// <summary>
        /// 栋名称
        /// </summary>
        [Column(TypeName = "varchar(255)")]
        public string FloorName { get; set; }
    }
}